import { commoninitialize } from "../src/commoninitialize";
import { createstate } from "../src/createstate";
import { emptytempfolder } from "./emptytempfolder";
import { loadpagedata } from "./loaddata";
// import { minifyhtml } from "./minifyhtml";
import { savepagedata } from "./savepagedata";
import { savestates } from "./savestates";

const startall = async () => {
    const states = createstate();
    await commoninitialize(states);
    // console.log(states);
    await loadpagedata(states);

    // await minifyhtml(states);
    await emptytempfolder();
    await savestates(states);
    await savepagedata(states);
};
export { startall };
